﻿<div class="modal-body">
    <form class="form-horizontal" name="loginForm"
          novalidate>
        <fieldset>
            <legend>Регистрация в системата</legend>
            <div class="form-group">
                <label class="col-md-2 control-label"
                       for="register-email">Електронна поща</label>
                <div class="col-md-10">
                    <input type="text" class="form-control"
                           id="register-email"
                           placeholder="Електронна поща"
                           ng-model="vm.userData.email" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label"
                       for="register-password">Парола</label>
                <div class="col-md-10">
                    <input type="password" class="form-control"
                           id="register-password"
                           placeholder="Парола"
                           ng-model="vm.userData.password" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label"
                       for="register-password-confirm">Потвърди парола</label>
                <div class="col-md-10">
                    <input type="password" class="form-control"
                           id="register-password-confirm"
                           placeholder="Потвърди парола"
                           ng-model="vm.userData.confirmPassword" />
                </div>
            </div>
        </fieldset>
        <div class="form-group">
            <div class="col-md-4 col-md-offset-2">
                <span>
                    <button class="btn btn-success"
                            style="width: 115px; margin-right: 10px"
                            ng-click="vm.registerUser()">
                        Потвърди
                    </button>
                </span>
            </div>
        </div>
    </form>
</div>
